const hsqjCommonJson = {
  //主表10000
  'yysr': {
    gener: {
      subjectCode: '6001',
      subjectName: '主营业务收入',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item =>
            ['6051'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
    small: {
      subjectCode: '5001',
      subjectName: '主营业务收入',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item =>
            ['5051'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    }
  },
  'yycb': {
    gener: {
      subjectCode: '6401',
      subjectName: '主营业务成本',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item =>
            ['6402'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
    small: {
      subjectCode: '5401',
      subjectName: '主营业务成本',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item =>
            ['5402'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    }
  },
  'yysjfj': {
    gener: {
      subjectCode: '6403',
      subjectName: '营业税金及附加',
    },
    small: {
      subjectCode: '5403',
      subjectName: '营业税金及附加',
    },
  },
  'xsfy': {
    gener: {
      subjectCode: '6601',
      subjectName: '销售费用',
    },
    small: {
      subjectCode: '5601',
      subjectName: '销售费用',
    },
  },
  'glfy': {
    gener: {
      subjectCode: '6602',
      subjectName: '管理费用',
    },
    small: {
      subjectCode: '5602',
      subjectName: '管理费用',
    },
  },
  'cwfy': {
    gener: {
      subjectCode: '6603',
      subjectName: '财务费用',
    },
    small: {
      subjectCode: '5603',
      subjectName: '财务费用',
    },
  },
  'zcjzss': {
    gener: {
      subjectCode: '6701',
      subjectName: '资产减值损失',
    },
    small: {
      subjectCode: '5701',
      subjectName: '资产减值损失',
    },
  },
  'gyjzbdsy': {
    gener: {
      subjectCode: '6101',
      subjectName: '公允价值变动损益',
    },
    small: {
      subjectCode: '5101',
      subjectName: '公允价值变动损益',
    },
  },
  'tzsy': {
    gener: {
      subjectCode: '6111',
      subjectName: '投资收益',
    },
    small: {
      subjectCode: '5111',
      subjectName: '投资收益',
    },
  },
  'yywsr': {
    gener: {
      subjectCode: '6301',
      subjectName: '营业外收入',
    },
    small: {
      subjectCode: '5301',
      subjectName: '营业外收入',
    },
  },
  'yywzc': {
    gener: {
      subjectCode: '6711',
      subjectName: '营业外支出',
    },
    small: {
      subjectCode: '5711',
      subjectName: '营业外支出',
    },
  },

  // 纳税调整项目明细表
  'ywzdfzc_col1': {
    gener: {
      subjectCode: '660208',
      subjectName: '业务招待费',
    },
    small: {
      subjectCode: '560208',
      subjectName: '业务招待费',
    },
  },
  'bnggxcfzc': {
    gener: {
      subjectCode: '660107',
      subjectName: '广告费和业务宣传费',
    },
    small: {
      subjectCode: '560107',
      subjectName: '广告费和业务宣传费',
    },
  },
  'bnjsggxcfkcxedxssr': {
    gener: {
      subjectCode: '6001',
      subjectName: '主营业务收入',
    },
    small: {
      subjectCode: '5001',
      subjectName: '主营业务收入',
    },
  },
  'lxzc_col1': {
    gener: {
      subjectCode: '660306',
      subjectName: '利息支出',
    },
    small: {
      subjectCode: '560306',
      subjectName: '利息支出',
    },
  },
  'ssznjjslx_col1': {
    gener: {
      subjectCode: '671107',
      subjectName: '税收滞纳金、罚金、罚款',
      // formula(amt, result, saasData) {
      //   const value =
      //     (
      //       saasData.find(item =>
      //         item.subjectCode === '671108' &&
      //         item.subjectName === '被没收财物的损失') || {}
      //     ).amt || 0;
      //   return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      // },
    },
    small: {
      subjectCode: '571107',
      subjectName: '税收滞纳金、罚金、罚款',
      // formula(amt, result, saasData) {
      //   const value =
      //     (
      //       saasData.find(item =>
      //         item.subjectCode === '571108' &&
      //         item.subjectName === '被没收财物的损失') || {}
      //     ).amt || 0;
      //   return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      // },
    },
  },
  '011_43_4': {
    gener: {
      subjectCode: '671110',
      subjectName: '赞助支出',
    },
    small: {
      subjectCode: '571110',
      subjectName: '赞助支出',
    },
  },
  'yjhsxfzc_col1': {
    gener: {
      subjectCode: '660303',
      subjectName: '手续费',
    },
    small: {
      subjectCode: '560303',
      subjectName: '手续费',
    },
  },
  // 职工薪酬纳税调整明细表 A105050
  'row1_zzje': {
    gener: {
      subjectCode: '66020701',
      subjectName: '工资',
    },
    small: {
      subjectCode: '56020701',
      subjectName: '工资',
    },
  },
  'row3_zzje': {
    gener: {
      subjectCode: '66020702',
      subjectName: '福利费',
    },
    small: {
      subjectCode: '56020702',
      subjectName: '福利费',
    },
  },
  'row7_zzje': {
    gener: {
      subjectCode: '66020704',
      subjectName: '工会经费支出',
    },
    small: {
      subjectCode: '56020704',
      subjectName: '工会经费支出',
    },
  },
  'row8_zzje': {
    gener: {
      subjectCode: '66020703',
      subjectName: '社保费',
    },
    small: {
      subjectCode: '56020703',
      subjectName: '社保费',
    },
  },
};
// 一般企业
let hsqjInputJson = {
  // 一般企业收入明细表 A101010
  'xsspsr': {
    gener: {
      subjectCode: '6001',
      subjectName: '主营业务收入',
    },
    small: {
      subjectCode: '5001',
      subjectName: '主营业务收入',
    },
  },
  'xsclsr': {
    gener: {
      subjectCode: '6051',
      subjectName: '其他业务收入',
    },
    small: {
      subjectCode: '5051',
      subjectName: '其他业务收入',
    },
  },
  'fldzcczld': {
    gener: {
      subjectCode: '630101',
      subjectName: '非流动资产处置净收益',
    },
    small: {
      subjectCode: '530101',
      subjectName: '非流动资产处置净收益',
    },
  },
  'zfbzld': {
    gener: {
      subjectCode: '630102',
      subjectName: '政府补助',
    },
    small: {
      subjectCode: '530102',
      subjectName: '政府补助',
    },
  },
  'pyld': {
    gener: {
      subjectCode: '630104',
      subjectName: '盘盈收益',
    },
    small: {
      subjectCode: '530104',
      subjectName: '盘盈收益',
    },
  },
  'jzld': {
    gener: {
      subjectCode: '630103',
      subjectName: '捐赠收益',
    },
    small: {
      subjectCode: '530103',
      subjectName: '捐赠收益',
    },
  },
  'hdsy': {
    gener: {
      subjectCode: '630105',
      subjectName: '汇兑收益',
    },
    small: {
      subjectCode: '530105',
      subjectName: '汇兑收益',
    },
  },
  'yywsrqt': {
    gener: {
      subjectCode: '6301',
      subjectName: '营业外收入',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item =>
            ['630105', '630103', '630104', '630102', '630101'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) - Number.parseFloat(value)}`;
      },
    },
    small: {
      subjectCode: '5301',
      subjectName: '营业外收入',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item =>
            ['530105', '530103', '530104', '530102', '530101'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) - Number.parseFloat(value)}`;
      },
    },
  },

  // 一般企业成本支出明细表 A102010
  'xsspcb': {
    gener: {
      subjectCode: '6401',
      subjectName: '主营业务成本',
    },
    small: {
      subjectCode: '5401',
      subjectName: '主营业务成本',
    },
  },
  'clxscb': {
    gener: {
      subjectCode: '6402',
      subjectName: '其他业务成本',
    },
    small: {
      subjectCode: '5402',
      subjectName: '其他业务成本',
    },
  },
  'fldzcczss': {
    gener: {
      subjectCode: '671102',
      subjectName: '非流动资产处置净损失',
    },
    small: {
      subjectCode: '571102',
      subjectName: '非流动资产处置净损失',
    },
  },
  'fcss': {
    gener: {
      subjectCode: '671106',
      subjectName: '自然灾害等不可抗力因素造成的损失',
    },
    small: {
      subjectCode: '571106',
      subjectName: '自然灾害等不可抗力因素造成的损失',
    },
  },
  'jzzc': {
    gener: {
      subjectCode: '671109',
      subjectName: '捐赠支出',
    },
    small: {
      subjectCode: '571109',
      subjectName: '捐赠支出',
    },
  },
  'zzzc': {
    gener: {
      subjectCode: '671110',
      subjectName: '赞助支出',
    },
    small: {
      subjectCode: '571110',
      subjectName: '赞助支出',
    },
  },
  'fmzc': {
    gener: {
      subjectCode: '671108',
      subjectName: '被没收财物的损失',
      // formula(amt, result, saasData) {
      //   const value = saasData
      //     .filter(item => ['671107'].includes(item.subjectCode))
      //     .reduce((result, item) => {
      //       result += Number.parseFloat(item.amt || 0);
      //       return result;
      //     }, 0);
      //   return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      // },
    },
    small: {
      subjectCode: '571108',
      subjectName: '被没收财物的损失',
      // formula(amt, result, saasData) {
      //   const value = saasData
      //     .filter(item => ['571107'].includes(item.subjectCode))
      //     .reduce((result, item) => {
      //       result += Number.parseFloat(item.amt || 0);
      //       return result;
      //     }, 0);
      //   return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      // },
    },
  },
  'hzss': {
    gener: {
      subjectCode: '671103',
      subjectName: '坏账损失',
    },
    small: {
      subjectCode: '571103',
      subjectName: '坏账损失',
    },
  },
  'wfshdzqgqtzss': {
    gener: {
      subjectCode: '671104',
      subjectName: '无法收回的长期债券投资损失',
      // formula(amt, result, saasData) {
      //   const value = saasData
      //     .filter(item => ['671105'].includes(item.subjectCode))
      //     .reduce((result, item) => {
      //       result += Number.parseFloat(item.amt || 0);
      //       return result;
      //     }, 0);
      //   return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      // },
    },
    small: {
      subjectCode: '571104',
      subjectName: '无法收回的长期债券投资损失',
      // formula(amt, result, saasData) {
      //   const value = saasData
      //     .filter(item => ['571105'].includes(item.subjectCode))
      //     .reduce((result, item) => {
      //       result += Number.parseFloat(item.amt || 0);
      //       return result;
      //     }, 0);
      //   return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      // },
    },
  },
  'yywzcqt': {
    gener: {
      subjectCode: '671101',
      subjectName: '其他',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item => ['671107'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
    small: {
      subjectCode: '571101',
      subjectName: '其他',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item => ['571107'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
  },

  // 期间费用明细表 A104000
  'zgxc_col1': {
    gener: {
      subjectCode: '660101',
      subjectName: '职工薪酬',
    },
    small: {
      subjectCode: '560101',
      subjectName: '职工薪酬',
    },
  },
  'ggfhywxcf_col1': {
    gener: {
      subjectCode: '660107',
      subjectName: '广告费和业务宣传费',
    },
    small: {
      subjectCode: '560107',
      subjectName: '广告费和业务宣传费',
    },
  },
  'yjhsxf_col1': {
    gener: {
      subjectCode: '660110',
      subjectName: '佣金费',
    },
    small: {
      subjectCode: '560110',
      subjectName: '佣金费',
    },
  },
  'clf_col1': {
    gener: {
      subjectCode: '660109',
      subjectName: '差旅费',
    },
    small: {
      subjectCode: '560109',
      subjectName: '差旅费',
    },
  },
  'bxf_col1': {
    gener: {
      subjectCode: '660106',
      subjectName: '保险费',
    },
    small: {
      subjectCode: '560106',
      subjectName: '保险费',
    },
  },
  'ccf_col1': {
    gener: {
      subjectCode: '660103',
      subjectName: '运输仓储费',
      formula(amt, result, saasData) {
        const value =
          (
            saasData.find(item =>
              item.subjectCode === '660104' && item.subjectName === '装卸费') || {}
          ).amt || 0;
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
    small: {
      subjectCode: '560103',
      subjectName: '运输仓储费',
      formula(amt, result, saasData) {
        const value =
          (
            saasData.find(item =>
              item.subjectCode === '560104' && item.subjectName === '装卸费') || {}
          ).amt || 0;
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
  },
  'xlf_col1': {
    gener: {
      subjectCode: '660102',
      subjectName: '商品维修费',
    },
    small: {
      subjectCode: '560102',
      subjectName: '商品维修费',
    },
  },
  'bzf_col1': {
    gener: {
      subjectCode: '660105',
      subjectName: '包装费',
    },
    small: {
      subjectCode: '560105',
      subjectName: '包装费',
    },
  },
  'qt_col1': {
    gener: {
      subjectCode: '660199',
      subjectName: '其他',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item => ['660108'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
    small: {
      subjectCode: '560199',
      subjectName: '其他',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item => ['560108'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
  },
  // '010_28_2': {
  //   gener: {
  //     subjectCode: '6601',
  //     subjectName: '销售费用',
  //     formula(amt, result) {
  //       return `${Number.parseFloat(amt) -
  //         Number.parseFloat(result['010_4_2']) -
  //         Number.parseFloat(result['010_8_2']) -
  //         Number.parseFloat(result['010_9_2']) -
  //         Number.parseFloat(result['010_16_2']) -
  //         Number.parseFloat(result['010_17_2']) -
  //         Number.parseFloat(result['010_19_2']) -
  //         Number.parseFloat(result['010_20_2']) -
  //         Number.parseFloat(result['010_18_2'])}`;
  //     },
  //   },
  //   small: {
  //     subjectCode: '5601',
  //     subjectName: '销售费用',
  //     formula(amt, result) {
  //       return `${Number.parseFloat(amt) -
  //         Number.parseFloat(result['010_4_2']) -
  //         Number.parseFloat(result['010_8_2']) -
  //         Number.parseFloat(result['010_9_2']) -
  //         Number.parseFloat(result['010_16_2']) -
  //         Number.parseFloat(result['010_17_2']) -
  //         Number.parseFloat(result['010_19_2']) -
  //         Number.parseFloat(result['010_20_2']) -
  //         Number.parseFloat(result['010_18_2'])}`;
  //     },
  //   },
  // },
  'zgxc_col3': {
    gener: {
      subjectCode: '660207',
      subjectName: '职工薪酬',
    },
    small: {
      subjectCode: '560207',
      subjectName: '职工薪酬',
    },
  },
  'lwf_col3': {
    gener: {
      subjectCode: '660218',
      subjectName: '劳务费',
    },
    small: {
      subjectCode: '560218',
      subjectName: '劳务费',
    },
  },
  'zxgwf_col3': {
    gener: {
      subjectCode: '660214',
      subjectName: '咨询费',
    },
    small: {
      subjectCode: '560214',
      subjectName: '咨询费',
    },
  },
  'ywzdf_col3': {
    gener: {
      subjectCode: '660208',
      subjectName: '业务招待费',
    },
    small: {
      subjectCode: '560208',
      subjectName: '业务招待费',
    },
  },
  'zczjtxf_col3': {
    gener: {
      subjectCode: '660202',
      subjectName: '折旧费',
    },
    small: {
      subjectCode: '560202',
      subjectName: '折旧费',
    },
  },
  'bgf_col3': {
    gener: {
      subjectCode: '660204',
      subjectName: '办公费',
    },
    small: {
      subjectCode: '560204',
      subjectName: '办公费',
    },
  },
  'dshf_col3': {
    gener: {
      subjectCode: '660217',
      subjectName: '董事会费',
    },
    small: {
      subjectCode: '560217',
      subjectName: '董事会费',
    },
  },
  'zlf_col3': {
    gener: {
      subjectCode: '660216',
      subjectName: '租赁费',
    },
    small: {
      subjectCode: '560216',
      subjectName: '租赁费',
    },
  },
  'ssf_col3': {
    gener: {
      subjectCode: '660215',
      subjectName: '诉讼费',
    },
    small: {
      subjectCode: '560215',
      subjectName: '诉讼费',
    },
  },
  'clf_col3': {
    gener: {
      subjectCode: '660206',
      subjectName: '差旅费',
    },
    small: {
      subjectCode: '560206',
      subjectName: '差旅费',
    },
  },
  'bxf_col3': {
    gener: {
      subjectCode: '660212',
      subjectName: '财产保险费',
    },
    small: {
      subjectCode: '560212',
      subjectName: '财产保险费',
    },
  },
  'ccf_col3': {
    gener: {
      subjectCode: '660220',
      subjectName: '快递费',
    },
    small: {
      subjectCode: '560220',
      subjectName: '快递费',
    },
  },
  'xlf_col3': {
    gener: {
      subjectCode: '660203',
      subjectName: '修理费',
    },
    small: {
      subjectCode: '560203',
      subjectName: '修理费',
    },
  },
  'jszrf_col3': {
    gener: {
      subjectCode: '660210',
      subjectName: '技术转让费',
    },
    small: {
      subjectCode: '560210',
      subjectName: '技术转让费',
    },
  },
  'yjfy_col3': {
    gener: {
      subjectCode: '660209',
      subjectName: '研究费用',
    },
    small: {
      subjectCode: '560209',
      subjectName: '研究费用',
    },
  },
  'qt_col3': {
    gener: {
      subjectCode: '660299',
      subjectName: '研究费用',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item => ['660205', '660213', '660219', '660223', '660211', '660222', '660224', '660221'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
    small: {
      subjectCode: '560299',
      subjectName: '研究费用',
      formula(amt, result, saasData) {
        const value = saasData
          .filter(item => ['560205', '560213', '560219', '560223', '560211', '560222', '560224', '560221'].includes(item.subjectCode))
          .reduce((result, item) => {
            result += Number.parseFloat(item.amt || 0);
            return result;
          }, 0);
        return `${Number.parseFloat(amt) + Number.parseFloat(value)}`;
      },
    },
  },
  // '010_28_4': {
  //   gener: {
  //     subjectCode: '6602',
  //     subjectName: '管理费用',
  //     formula(amt, result) {
  //       return `${Number.parseFloat(amt) -
  //         Number.parseFloat(result['010_4_4']) -
  //         Number.parseFloat(result['010_5_4']) -
  //         Number.parseFloat(result['010_6_4']) -
  //         Number.parseFloat(result['010_7_4']) -
  //         Number.parseFloat(result['010_10_4']) -
  //         Number.parseFloat(result['010_12_4']) -
  //         Number.parseFloat(result['010_13_4']) -
  //         Number.parseFloat(result['010_14_4']) -
  //         Number.parseFloat(result['010_15_4']) -
  //         Number.parseFloat(result['010_16_4']) -
  //         Number.parseFloat(result['010_17_4']) -
  //         Number.parseFloat(result['010_18_4']) -
  //         Number.parseFloat(result['010_19_4']) -
  //         Number.parseFloat(result['010_21_4']) -
  //         Number.parseFloat(result['010_22_4'])}`;
  //     },
  //   },
  //   small: {
  //     subjectCode: '5602',
  //     subjectName: '管理费用',
  //     formula(amt, result) {
  //       return `${Number.parseFloat(amt) -
  //         Number.parseFloat(result['010_4_4']) -
  //         Number.parseFloat(result['010_5_4']) -
  //         Number.parseFloat(result['010_6_4']) -
  //         Number.parseFloat(result['010_7_4']) -
  //         Number.parseFloat(result['010_10_4']) -
  //         Number.parseFloat(result['010_12_4']) -
  //         Number.parseFloat(result['010_13_4']) -
  //         Number.parseFloat(result['010_14_4']) -
  //         Number.parseFloat(result['010_15_4']) -
  //         Number.parseFloat(result['010_16_4']) -
  //         Number.parseFloat(result['010_17_4']) -
  //         Number.parseFloat(result['010_18_4']) -
  //         Number.parseFloat(result['010_19_4']) -
  //         Number.parseFloat(result['010_21_4']) -
  //         Number.parseFloat(result['010_22_4'])}`;
  //     },
  //   },
  // },
  'yjhsxf_col5': {
    gener: {
      subjectCode: '660303',
      subjectName: '手续费',
    },
    small: {
      subjectCode: '560303',
      subjectName: '手续费',
    },
  },
  'lxsz_col5': {
    gener: {
      subjectCode: '660305',
      subjectName: '利息收入',
      formula(amt, result, saasData) {
        const value =
          (
            saasData.find(item =>
              item.subjectCode === '660301' && item.subjectName === '利息费用') || {}
          ).amt || 0;
        const val =
          (
            saasData.find(item =>
              item.subjectCode === '660306' && item.subjectName === '利息支出') || {}
          ).amt || 0;
        return `${Number.parseFloat(amt) + Number.parseFloat(value) - Number.parseFloat(val)}`;
      },
    },
    small: {
      subjectCode: '560305',
      subjectName: '利息收入',
      formula(amt, result, saasData) {
        const value =
          (
            saasData.find(item =>
              item.subjectCode === '560301' && item.subjectName === '利息费用') || {}
          ).amt || 0;
        const val =
          (
            saasData.find(item =>
              item.subjectCode === '560306' && item.subjectName === '利息支出') || {}
          ).amt || 0;
        return `${Number.parseFloat(amt) + Number.parseFloat(value) - Number.parseFloat(val)}`;
      },
    },
  },
  'hdce_col5': {
    gener: {
      subjectCode: '660302',
      subjectName: '汇兑损失',
    },
    small: {
      subjectCode: '560302',
      subjectName: '汇兑损失',
    },
  },
  'xjzk_col5': {
    gener: {
      subjectCode: '660304',
      subjectName: '现金折扣',
    },
    small: {
      subjectCode: '560304',
      subjectName: '现金折扣',
    },
  },
  // '010_28_6': {
  //   gener: {
  //     subjectCode: '6603',
  //     subjectName: '财务费用',
  //     formula(amt, result) {
  //       return `${Number.parseFloat(amt) -
  //         Number.parseFloat(result['010_9_6']) -
  //         Number.parseFloat(result['010_24_6']) -
  //         Number.parseFloat(result['010_25_6']) -
  //         Number.parseFloat(result['010_26_6'])}`;
  //     },
  //   },
  //   small: {
  //     subjectCode: '5603',
  //     subjectName: '财务费用',
  //     formula(amt, result) {
  //       return `${Number.parseFloat(amt) -
  //         Number.parseFloat(result['010_9_6']) -
  //         Number.parseFloat(result['010_24_6']) -
  //         Number.parseFloat(result['010_25_6']) -
  //         Number.parseFloat(result['010_26_6'])}`;
  //     },
  //   },
  // },
  // 企业经营数据采集
  'yysjfj': {
    gener: {
      subjectCode: '6403',
      subjectName: '税金及附加',
    },
    small: {
      subjectCode: '5403',
      subjectName: '税金及附加',
    },
  },
  'tzsy': {
    gener: {
      subjectCode: '6111',
      subjectName: '投资收益',
    },
    small: {
      subjectCode: '5111',
      subjectName: '投资收益',
    },
  },
  '004_9_2': {
    gener: {
      subjectCode: '6701',
      subjectName: '资产减值损失',
    },
    small: {
      subjectCode: '5701',
      subjectName: '资产减值损失',
    },
  },
};
const gdzczjJson = {
  '房屋建筑物': {
    "fwjzw_col1": "assetsOrigAmt",
    "fwjzw_col2": "yearDepreciatonAmt",
    "fwjzw_col3": "totalDepreciatonAmt"
  },
  '机器设备': {
    "fjhclcjscsb_col1": "assetsOrigAmt",
    "fjhclcjscsb_col2": "yearDepreciatonAmt",
    "fjhclcjscsb_col3": "totalDepreciatonAmt"
  },
  '办公设备': {
    "yjyhdygqjd_col1": "assetsOrigAmt",
    "yjyhdygqjd_col2": "yearDepreciatonAmt",
    "yjyhdygqjd_col3": "totalDepreciatonAmt"
  },
  '运输设备': {
    "fjhclcywdysgj_col1": "assetsOrigAmt",
    "fjhclcywdysgj_col2": "yearDepreciatonAmt",
    "fjhclcywdysgj_col3": "totalDepreciatonAmt"
  },
  '电子设备': {
    "dzsb_col1": "assetsOrigAmt",
    "dzsb_col2": "yearDepreciatonAmt",
    "dzsb_col3": "totalDepreciatonAmt"
  },
}

hsqjInputJson = Object.assign(hsqjInputJson, hsqjCommonJson);

export {
  hsqjInputJson,
  gdzczjJson
};
